/**
 * 
 */
package com.gr.staffpm.widget.jqgrid.model;

import java.io.Serializable;

/**
 * @author  Graham Rhodes
 */
public class SortInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * The property to use as sort index.
     */
    private String property;

    /**
     * The oder to use for sorting.
     */
    private SortOrder sortOrder;

    /**
     * 
     * @param property
     * @param sortOrder
     */
    public SortInfo(String property, SortOrder sortOrder) {
        super();
        this.property = property;
        this.sortOrder = sortOrder;
    }


    public String getProperty() {
        return property;
    }

    public void setProperty(String property) {
        this.property = property;
    }

    public SortOrder getSortOrder() {
        return sortOrder;
    }

    public void setSortOrder(SortOrder sortOrder) {
        this.sortOrder = sortOrder;
    }

}
